<?php

/**
 * This is the model class for table "wxuser".
 *
 * The followings are the available columns in table 'wxuser':
 * @property string $id_wxuser
 * @property string $wx_openid
 * @property string $alipay_userid
 * @property string $ali_userid
 * @property string $create_time
 */
class NewretailUser extends ActiveRecord
{
    /**
     * Returns the static model of the specified AR class.
     * @param string $className active record class name.
     * @return Wxuser the static model class
     */
    public static function model($className=__CLASS__)
    {
        return parent::model($className);
    }

    /**
     * @return string the associated database table name
     */
    public function tableName()
    {
        return 'newretail_user';
    }

    /**
     * @return array validation rules for model attributes.
     */
    public function rules()
    {
        return array(
            array('id_newretail_user, wx_openid, ali_userid, alipay_userid, create_time', 'safe'),
        );
    }

    /**
     * @return array relational rules.
     */
    public function relations()
    {
        return array(

        );
    }

    /**
     * @return array customized attribute labels (name=>label)
     */
    public function attributeLabels()
    {
        return array(
        );
    }
}